System.register([], function () {
	'use strict';
	return {
		execute: function () {

			function retained1 () {
				return () => console.log( 'effect' );
			}

			retained1()();

			function retained2 () {
				if ( globalCondition ) {
					return () => console.log( 'effect' );
				}
				return () => {};
			}

			retained2()();

			function retained3 () {
				if ( globalCondition ) {
					return () => {};
				}
			}

			retained3()();

			function retained4 () {}

			retained4()();

			function retained5 () {
				return {};
			}

			retained5().x.y = 1;

			function retained6 () {
				return { x: () => console.log( 'effect' ) };
			}

			retained6().x();

		}
	};
});
